package com.wang.project.mapper;

import com.wang.project.model.dto.approval.ApprovalQueryRequest;
import com.wang.project.model.entity.Approval;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wang.project.model.vo.ApprovalVO;

import java.util.List;

/**
* @author 胡歌的腿毛
* @description 针对表【approval】的数据库操作Mapper
* @createDate 2023-09-29 22:36:15
* @Entity com.wang.project.model.entity.Approval
*/
public interface ApprovalMapper extends BaseMapper<Approval> {

    List<ApprovalVO> getApprovalList(ApprovalQueryRequest approvalQueryRequest);

    List<ApprovalVO> getUserApprovalList(ApprovalQueryRequest approvalQueryRequest, Long id);
}




